﻿using System.ComponentModel.DataAnnotations;
using AnQinFrameWorkAPI.Common.Enum;
using FrameWork.Entity;

namespace AnQinFrameWorkAPI.Entity.Develop.DTO.DevelopProjectDevelopment;

/// <summary>
///     项目开发管理需求搜索模型
/// </summary>
public class DevelopProjectDemandDevelopmentSearchDTO : PageResultModel
{
    /// <summary>
    ///     项目列表id
    /// </summary>
    [Required(ErrorMessage = "项目列表id不可为空")]
    public string ProjectId { get; set; }

    /// <summary>
    ///     项目需求编码/名称
    /// </summary>
    public string? Demand { get; set; }

    /// <summary>
    ///     项目管理编码/名称
    /// </summary>
    public string? Project { get; set; }

    /// <summary>
    ///     需求内容
    /// </summary>
    public string? Content { get; set; }

    /// <summary>
    ///     开发人名称
    /// </summary>
    public string? DevelopStaffName { get; set; }

    /// <summary>
    ///     开发状态
    /// </summary>
    public DevelopEnum.DevelopItemStatusEnum? DevelopItemStatus { get; set; }
}